<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>动画过渡</title>
		<style type="text/css">
			#p1{
				/* height: 300px;
				width: 400px;
				overflow: hidden;
				margin: 200px auto; */
			}
			#p1 img{
				height: 300px;
				width: 400px;
				margin: 200px auto;
				cursor: pointer;
			}
			/*active有效*/
			#p1 img:hover{
				/* height: 600px; */
				transform: rotate(7200deg) scale(2);
				/* transition:all 4s linear 0s; */
				/* transition:height 4s linear 0s; */
				transition:all 3s ease-out 0s;
			}
		</style>
	</head>
	<body>
		<div id="p1">
			<img src="6.jpg"/>
		</div>
	</body>
</html>
